home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateSelectionBox.z / XmCreateSelectionBox
Encoding:
Text File  |  2003-11-18  |  2.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_S_e_l_e_c_t_i_o_n_B_o_x - The SelectionBox widget creation
  10.       function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/SelectioB.h>
  14.  
  15.       Widget XmCreateSelectionBox (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,, aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_S_e_l_e_c_t_i_o_n_B_o_x creates an unmanaged SelectionBox.  A
  23.       SelectionBox is used to get a    selection from a list of
  24.       alternatives from the    user and includes the following:
  25.  
  26.       +o    A scrolling list    of alternatives
  27.  
  28.       +o    An editable text    field for the selected alternative
  29.  
  30.       +o    Labels for the list and text field
  31.  
  32.       +o    Three or    four buttons
  33.  
  34.       The default button labels are    _O_K, _C_a_n_c_e_l, and    _H_e_l_p.  By
  35.       default an _A_p_p_l_y button is also created; if the parent of
  36.       the SelectionBox is a    DialogShell it is managed, and
  37.       otherwise it is unmanaged.  Additional work area children
  38.       may be added to the SelectionBox after creation.
  39.  
  40.       ppppaaaarrrreeeennnntttt
  41.            Specifies the parent widget ID
  42.  
  43.       nnnnaaaammmmeeee Specifies the name of the created widget
  44.  
  45.       aaaarrrrgggglllliiiisssstttt
  46.            Specifies the argument list
  47.  
  48.       aaaarrrrggggccccoooouuuunnnntttt
  49.            Specifies the number of attribute/value pairs in    the
  50.            argument    list (aaaarrrrgggglllliiiisssstttt)
  51.  
  52.       For a    complete definition of SelectionBox and    its associated
  53.       resources, see _X_m_S_e_l_e_c_t_i_o_n_B_o_x(_3_X).
  54.  
  55.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  56.       Returns the SelectionBox widget ID.
  57.  
  58.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  59.       _X_m_S_e_l_e_c_t_i_o_n_B_o_x(_3_X).
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.